package com.mrd.gtimpframe.repository;

import com.mrd.gtimpframe.entity.RejectRecord;

import java.util.List;

public interface RejectRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(RejectRecord record);

    int insertSelective(RejectRecord record);

    RejectRecord selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(RejectRecord record);

    int updateByPrimaryKey(RejectRecord record);

    /**
     * 根据非null属性查询
     */
    List<RejectRecord> selectSelective(RejectRecord params);

    /**
     * 根据报关单ids查询未处理的驳回申请
     */
    List<RejectRecord> selectByDidsInit(String[] declarationIds);
}